﻿using System;
using System.Collections;
using Huirui.Cavan.Presentation.Seedwork;
using Huirui.Cavan.Domain.MainBoundedContext.SalesModule;
using Huirui.Cavan.Domain.MainBoundedContext.SearchModule;

namespace Huirui.Cavan.Presentation.ViewModel.SalesModule
{
	#region OtherReceivable

    public class ReceivablesViewModel : EntityModel<Receivables, long, ReceivablesSearch>, IReceivablesViewModel
    {
        public int Type { get; set; }
    }

    public class ReceivablesJson
    {
        public bool IsSelected { get; set; }
        public long Id { get; set; }
        public decimal CurrentAmount { get; set; }
        public string CertificateDate { get; set; }
        public string ReceivablesType { get; set; }
        public string CreateDate { get; set; }
        public string ReceivablesCode { get; set; }
        public string Currency { get; set; }
        public decimal CurrencyRate { get; set; }
        public decimal Amount { get; set; }
        public decimal LeftAmount { get; set; }
        public string CustomerCode { get; set; }
        public string CustomerName { get; set; }
    }

    public class ReceivablesJsonViewModel : JsonViewModel<ReceivablesJson>
    {
    }
	#endregion
}